Technical Q&AQD 41 - Using Background Printing When The Finder Isn't Present (4-Mar-96)Q Is there any way we can use background printing while the Finder is off? A Yes, it is possible to use background printing when the Finder isn't present.
Here's the approach, in three parts: A: Old print architecture, no desktop printingYour application needs to monitor the Print Monitor Documents folder within the System Folder. On older versions of system software, this folder is called Spool Folder. When you see a file within that folder, you can launch Print Monitor and the file will be sent to the printer. B: Old print architecture, with desktop printing installedBefore quitting the Finder, make sure desktop printers are all done printing (Any jobs currently in desktop printers stop when the Finder goes away). Once all DTPs are clear, follow the same steps as A. C: QuickDraw GXWatch the Print Monitor Documents folder, and launch PrinterShare GX. Make sure to handle any events it passes back to you, since these are error conditions and the user will need to be alerted. Since PrinterShare GX looks for the Finder by looking for a process whose ProcessType is 'FNDR', you'll have to mimic that behavior. You can use the application AETracker to find out which events you will need to handle. (AETracker is available on the Developer CD Series in the Testing & Debugging folder on the ToolChest Edition.) Technical Q&A Previous Question | Contents | Next Question |